<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    

   <script type="text/javascript">
	$(function() {
		$('#coupon').combotree({
			url : '${ctx}/autoinn/customer/treegrids',
			idFiled : 'coupon_id',
			textFiled : 'coupon_name'
		});
		
	});
	</script>
    
    <div align="center" id="dicoupon">
	<form id="customerjuanupdateForms" method="post">

		<input type="hidden" id="customerId" name="customerId" value="${customerId}" />
		<input type="hidden" id="openid" name="openid" value="${openid}"/>
		<input type="hidden" id="wxaccount" name="wxaccount" value="${wxaccount }"/>
		<br />
		<table class="stable" cellpadding="1" cellspacing="1"
			style="width: 100%">
			<tr>
				<td class="stdlabel">优惠券：</td>
				<td class="stdinput"><input id="coupon" name="couponid"
					class="easyui-combotree" style="width: 155px;" /></td>

				</td>

			</tr>
			<tr>
				<td class="stdlabel">数量:</td>
				<td class="stdinput"><input id="cout" name="cont"
					value="1" class="easyui-validatebox" data-options="required:true"
					  missingMessage="请编辑数目!" style="width: 155px;" /></td>

			</tr>
			
		</table>

	</form>
</div>
    